package com.ddf.publics.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 还款记录表(Repayment)实体类
 *
 * @author makejava
 * @since 2020-06-22 10:56:48
 */
public class Repayment implements Serializable {
    private static final long serialVersionUID = -78688134348932814L;
    /**
    * 编号
    */
    private Integer rId;
    /**
    * 借贷表id
    */
    private Integer lId;
    /**
    * 还款时间
    */
    private Date rDate;
    /**
    * 还款金额
    */
    private float rMoney;
    /**
    * 已还期数
    */
    private Integer alreadyMonth;
    /**
    * 剩余还款金额
    */
    private float surplusMoney;
    /**
    * 剩余还款期数
    */
    private float residueMoney;


    public Integer getRId() {
        return rId;
    }

    public void setRId(Integer rId) {
        this.rId = rId;
    }

    public Integer getLId() {
        return lId;
    }

    public void setLId(Integer lId) {
        this.lId = lId;
    }

    public Date getRDate() {
        return rDate;
    }

    public void setRDate(Date rDate) {
        this.rDate = rDate;
    }

    public float getRMoney() {
        return rMoney;
    }

    public void setRMoney(float rMoney) {
        this.rMoney = rMoney;
    }

    public Integer getAlreadyMonth() {
        return alreadyMonth;
    }

    public void setAlreadyMonth(Integer alreadyMonth) {
        this.alreadyMonth = alreadyMonth;
    }

    public float getSurplusMoney() {
        return surplusMoney;
    }

    public void setSurplusMoney(float surplusMoney) {
        this.surplusMoney = surplusMoney;
    }

    public float getResidueMoney() {
        return residueMoney;
    }

    public void setResidueMoney(float residueMoney) {
        this.residueMoney = residueMoney;
    }

    @Override
    public String toString() {
        return "Repayment{" +
                "rId=" + rId +
                ", lId=" + lId +
                ", rDate=" + rDate +
                ", rMoney=" + rMoney +
                ", alreadyMonth=" + alreadyMonth +
                ", surplusMoney=" + surplusMoney +
                ", residueMoney=" + residueMoney +
                '}';
    }
}